﻿using System;
using System.Collections.Generic;
using System.Xml;
using System.Xml.Serialization;
using System.Text;

namespace Microsoft.ResourceManagement.Client.WsEnumeration
{
    [XmlRoot(Namespace=Constants.WsEnumeration.Namespace)]
    public class PullResponse
    {
        [XmlElement()]
        public EnumerationContext EnumerationContext;

        [XmlElement()]
        public PullItem Items;

        [XmlElement()]
        public String EndOfSequence;

        [XmlIgnore()]
        public bool IsEndOfSequence
        {
            get
            {
                return EndOfSequence != null;
            }
        }
    }
}
